Class com.symantec.itools.io.Directory
All Packages Class Hierarchy This Package Previous Next Index
Class com.symantec.itools.io.Directory
Object
|
+----com.symantec.itools.io.Directory
- public class Directory
- extends Object
- Version:
- 1.0
- Author:
- Symantec Internet Tools Division
- Since:
- VCafe 3.0
-
directory
-
-
name
-
-
parent
-
-
com.symantec.itools.io.Directory()
-
-
com.symantec.itools.io.Directory(String)
-
-
com.symantec.itools.io.Directory(String, boolean)
-
-
canRead()
-
-
canWrite()
-
-
copyFile(File, File)
-
-
copyTo(Directory, boolean)
-
-
copyTo(FilenameFilter, Directory, boolean)
-
-
delete()
-
-
deleteAll()
-
-
exists()
-
-
getName()
-
-
getParent()
-
-
lastModified()
-
-
list(boolean)
-
-
list(FilenameFilter, boolean)
-
-
listDirectories(boolean)
-
-
listDirectories(DirectoryFilenameFilter, boolean)
-
-
listFiles(boolean)
-
-
listFiles(FileFilenameFilter, boolean)
-
-
moveTo(FilenameFilter, Directory, boolean)
-
-
renameTo(AbstractDirectory)
-
-
setName(String, boolean)
-
directory
protected java.io.File directory
-
- Since:
VCafe 3.0
name
protected java.lang.String name
-
- Since:
VCafe 3.0
parent
protected com.symantec.itools.io.Directory parent
-
- Since:
VCafe 3.0
Directory
protected Directory()
Directory
public Directory(String dirName) throws NotDirectoryException, FileNotFoundException, IOException
Directory
public Directory(String dirName,
boolean create) throws NotDirectoryException, FileNotFoundException, IOException
canRead
public boolean canRead()
-
- Since:
- VCafe 3.0
canWrite
public boolean canWrite()
-
- Since:
- VCafe 3.0
copyFile
protected boolean copyFile(File source,
File target) throws IOException
-
- Parameters:
- source - TODO
- target - TODO
- Throws: IOException
-
- Since:
- VCafe 3.0
copyTo
public boolean copyTo(Directory dst,
boolean recurse) throws IOException
-
- Parameters:
- filter - TODO
- dst - TODO
- recurse - TODO
- Since:
- VCafe 3.0
copyTo
public boolean copyTo(FilenameFilter filter,
Directory dst,
boolean recurse) throws IOException
delete
public boolean delete()
-
- Since:
- VCafe 3.0
deleteAll
public boolean deleteAll()
exists
public boolean exists()
-
- Since:
- VCafe 3.0
getName
public java.lang.String getName()
-
- Since:
- VCafe 3.0
getParent
public java.lang.String getParent()
-
- Since:
- VCafe 3.0
lastModified
public long lastModified()
-
- Since:
- VCafe 3.0
list
public java.lang.String[] list(boolean recurse)
-
- Parameters:
- recurse - TODO
- Since:
- VCafe 3.0
list
public java.lang.String[] list(FilenameFilter filter,
boolean recurse)
-
- Parameters:
- filter - TODO
- recurse - TODO
- Since:
- VCafe 3.0
listDirectories
public java.lang.String[] listDirectories(boolean recurse)
-
- Parameters:
- recurse - TODO
- Since:
- VCafe 3.0
listDirectories
public java.lang.String[] listDirectories(DirectoryFilenameFilter filter,
boolean recurse)
-
- Parameters:
- filter - TODO
- recurse - TODO
- Since:
- VCafe 3.0
listFiles
public java.lang.String[] listFiles(boolean recurse)
-
- Parameters:
- recurse - TODO
- Since:
- VCafe 3.0
listFiles
public java.lang.String[] listFiles(FileFilenameFilter filter,
boolean recurse)
-
- Parameters:
- filter - TODO
- recurse - TODO
- Since:
- VCafe 3.0
moveTo
public boolean moveTo(FilenameFilter filter,
Directory dst,
boolean recurse)
-
- Parameters:
- filter - TODO
- dst - TODO
- recurse - TODO
- Since:
- VCafe 3.0
renameTo
public boolean renameTo(AbstractDirectory dir)
-
- Parameters:
- dir - TODO
- Since:
- VCafe 3.0
setName
protected void setName(String dirName,
boolean create) throws NotDirectoryException, FileNotFoundException, IOException
-
- Parameters:
- dirName - TODO
- create - TODO
- Throws: NotDirectoryException
-
- Throws: FileNotFoundException
-
- Throws: IOException
-
- Since:
- VCafe 3.0
All Packages Class Hierarchy This Package Previous Next Index